<div class="pageheader">
      <h2><i class="fa fa-home"></i> Scheduling </h2>
    </div>
    
    <div class="contentpanel">
       
      <div class="panel panel-default">
        <div class="panel-heading">
          <h4 class="panel-title"><strong> Add Schedule </strong></h4>
        </div>
        <form  action="<?php echo site_url("teacher").'/'.$this->uri->segment(2); ?>/schedule" method="post" class="form-horizontal form-bordered">
		 <div class="panel-body panel-body">
			<div class="row">
			  <?php if($this->session->flashdata('message_board_added') !== false){
				?> <div class="alert alert-success fade in">
					<a href="#" class="close" data-dismiss="alert">&times;</a>
					<strong>Success!</strong> Data Submitted successfully.
				</div>
					<?php
				  } ?>
				  
				<div class="panel-body">
              <div class="row row-pad-5">
                <div class="col-lg-6">
					  <div class="input-group">
						<input type="text" class="form-control" name="date" placeholder="mm/dd/yyyy" id="datepicker-multiple">
						<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
					  </div>
                </div>
                <div class="col-lg-6">
                  <input type="text" name="schedule_title" placeholder="Schedule Title" class="form-control">
                </div>
              </div><!-- row -->
              <textarea class="form-control" name="content" rows="5" placeholder="Details Of Schedule"></textarea>
            </div>
			</div>
			<div class="row">
				<button type="button" class="btn btn-warning btn-xs pull-right m-t-10"><i class="fa fa-plus"></i> Add more</button>
			</div>
			 		
        </div><!-- panel-body -->
        
        <div class="panel-footer">
			<div class="row">
				<div class="col-sm-6 col-sm-offset-3">
				  <button type="submit" name="submitted" class="btn btn-success">Submit</button>&nbsp;
				  <button class="btn btn-default">Cancel</button>
				</div>
			</div>
		</div><!-- panel-footer -->
        </form>
      </div><!-- panel -->  
    </div><!-- contentpanel -->
    
  </div><!-- mainpanel -->
 
  
</section>


<script src="<?php echo base_url();?>adm/js/jquery-1.10.2.min.js"></script>
<script src="<?php echo base_url();?>adm/js/jquery-migrate-1.2.1.min.js"></script>
<script src="<?php echo base_url();?>adm/js/jquery-ui-1.10.3.min.js"></script>
<script src="<?php echo base_url();?>adm/js/bootstrap.min.js"></script>
<script src="<?php echo base_url();?>adm/js/modernizr.min.js"></script>
<script src="<?php echo base_url();?>adm/js/jquery.sparkline.min.js"></script>
<script src="<?php echo base_url();?>adm/js/toggles.min.js"></script>
<script src="<?php echo base_url();?>adm/js/retina.min.js"></script>
<script src="<?php echo base_url();?>adm/js/jquery.cookies.js"></script>

<script src="<?php echo base_url();?>adm/js/bootstrap-timepicker.min.js"></script>
<script src="<?php echo base_url();?>adm/js/chosen.jquery.min.js"></script>

<script src="<?php echo base_url();?>adm/js/custom.js"></script>
<script>
  jQuery(document).ready(function() {
    
	// Date Picker
  jQuery('#datepicker').datepicker();
  
  jQuery('#datepicker-inline').datepicker();
  
  jQuery('#datepicker-multiple').datepicker({
    numberOfMonths: 3,
    showButtonPanel: true
	});
  });
  
</script>

</body>
</html>
